PROJECT(testHttpServer)
MESSAGE(STATUS "This is BINARY dir " ${PROJECT_BINARY_DIR})
MESSAGE(STATUS "This is SOURCE dir " ${PROJECT_SOURCE_DIR})
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE_DIRECTORIES(/home/zjx/public/uiyiu_v0.2/src/server)
LINK_DIRECTORIES(/home/zjx/public/uiyiu_v0.2/src/server/build)
MESSAGE(STATUS "This is SOURCE dir " /home/zjx/public/uiyiu_v0.2/src/server)
AUX_SOURCE_DIRECTORY(. DIR_SRC)
AUX_SOURCE_DIRECTORY(server DIR_SRC)
ADD_EXECUTABLE(testHttpServer ${DIR_SRC})
TARGET_LINK_LIBRARIES(testHttpServer server.a)
TARGET_LINK_LIBRARIES(testHttpServer -lpthread)